package com.byl.modules.sys.dao;

import com.byl.common.modules.dao.IDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/7/24.
 */
@Mapper
public interface RoleDao extends IDao{

    public String queryRoleByMenuId(@Param("id") Serializable id);

    public int checkRole(@Param("role_name") String role_name);

    public int saveBatchRoleMenu(Map map);

    public int deleteRoleMenu(@Param("role_id") Serializable role_id);

    public List queryAllRole();

}
